numbers=[5,2,5,2,2]
string ="x"
for number in numbers:
    output=""
    for count in range(number):
        output=output+"x"
    print(output)